package com.yaoq.proxy.interceptor;

/**
 * @ClassName LInkHome
 * @Description TODO
 * @Author yaoqiang
 * @Date 2020/9/2 11:13
 * @Version 1.0
 */
public class LinkHome implements BuyHouse {
    private Yao yao;

    public LinkHome(Yao yao) {
        this.yao = yao;
    }

    @Override
    public void pay() {
        System.out.println("中介处理前期事情");
        yao.pay();
        System.out.println("中介处理后期");
    }
}
